From: Jan Djärv Date: Fri, 2 Feb 2007 09:34:51 +0000 (+0000) Subject: (do_ewmh_fullscreen): Check that what != NULL before X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~2479 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d47c137c4f6637ccfc81021eeb3cf782f5014d13;p=emacs.git (do_ewmh_fullscreen): Check that what != NULL before calling wm_supports. --- diff --git a/src/xterm.c b/src/xterm.c index e3fb3ae1c14..3650f3cc541 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8442,7 +8442,7 @@ do_ewmh_fullscreen (f) break; } - if (!wm_supports (f, what)) return 0; + if (what != NULL && !wm_supports (f, what)) return 0; Fx_send_client_event (frame, make_number (0), frame,